#define _CRT_SECURE_NO_WARNINGS 1

class Solution
{
public:
    int getSum(int a, int b)
    {
        int yh = a ^ b;
        int jin = (a & b) << 1;
        while (jin)
        {
            a = yh;
            b = jin;
            yh = a ^ b;
            jin = (a & b) << 1;
        }
        return yh;
    }
};